//package com.openvas.commons.common.core.domain.entity;
//
//
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//import org.hibernate.validator.constraints.Length;
//
//import javax.validation.constraints.NotNull;
//import javax.validation.constraints.Size;
//
///**
// * 封装注册用户参数列表
// */
//@ApiModel("封装注册用户参数列表")
//@Data
//public class User {
//
////    @ApiModelProperty(notes = "用户账号",required = true, example = "")
////    @Length(min = 4,max = 20,message = "用户名长度为4-20位之间")
////    private String username;
//
//    @ApiModelProperty(notes = "密码",required = true, example = "")
//    @NotNull(message = "密码不能为空!")
//    @Size(min = 4, max = 15, message = "密码不能少于4位，不能多于15位")
//    private String password;
//
//    @ApiModelProperty(notes = "手机号",required = true, example = "")
//    @Length(min = 11, max = 11, message = "手机号长度是11位")
//    private String phone;
//}
